package com.hundsun.cprs.yyt.service.system;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 系统静态参数配置
 * @author linrl
 * @date 2018年7月3日
 */
@Component
public class SystemConfigProperties {

    /**
     * 竞购房间功能开关,默认为关闭房间
     */
    @Value("${bid.room.onoff:false}")
    private String roomOnOff;
    
    @Value("${form.attachReward.enable:false}")
    private String formAttachRewardEnable;

    public String getRoomOnOff() {
        return roomOnOff;
    }

    protected void setRoomOnOff(String roomOnOff) {
        this.roomOnOff = roomOnOff;
    }

    public String getFormAttachRewardEnable() {
        return formAttachRewardEnable;
    }
}
